#include "MainGame.h"
#include "LocalComponents.h"
#include "RSManager.h"
#include "BulletManager.h"
#include "Box.h"
#include <d3dx9.h>
RSManager* RSManager::_instance = NULL;
BulletManager* BulletManager::_ins = NULL;
int WINAPI	WinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nShowCmd )
{
	MainGame* main = new MainGame(hInstance,"Contra",510,480);
	gl_BOX_0_0_0 = new Box(D3DXVECTOR2(0,0),D3DXVECTOR2(0,0),D3DXVECTOR2(0,0));
	main->initWindow();
	main->initDX();
	main->load();
	main->run();
	main->shutdown();
	return 0;
}